package com.linoer.cloud.alo.orderservice.service;

import com.linoer.cloud.alo.common.domain.ObjectResponse;
import com.linoer.cloud.alo.common.domain.dto.OrderDTO;
import com.linoer.cloud.alo.common.service.dubbo.OrderDubboService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Classname StorageDubboServiceImp
 * @Description TODO
 * @Date 2021/6/24 5:24 下午
 * @Created by muhenglv
 */
@Service(version = "1.0.0", timeout = 3000)
public class OrderDubboServiceImp implements OrderDubboService {

    @Autowired
    private OrderService orderService;

    @Override
    public ObjectResponse createOrder(OrderDTO order) {
        return orderService.createOrder(order);
    }
}
